<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scaclable=no"/>
		<title>模糊背景</title>
		<link rel="stylesheet" type="text/css" href="css/reset-min.css"/>
		<style type="text/css">
			.wrap{
				height: 100px;
				background-color: rgba(0,0,0,0.5);
				position: relative;
			}
			.wrap .header{
				margin: 24px 0px 0px 12px;
			}
			.wrap .bg{
				position: absolute;
				left: 0;
				right: 0;
				top: 0;
				bottom: 0;
				
				background: url(img/default-header.png) no-repeat;
				/* 参照图片default-header */
				background-size: 100% 100%;
				z-index: -1;
				/* 让整个元素bg，模糊 */
				filter: blur(10px);
			}
		</style>
	</head>
	<body>
		<div class="wrap">
			<img src="img/default-header.png" class="header" width="50px">
			<div class="bg"></div>
		</div>
	</body>
</html>
